package com.itheima.a01oopextendsdemo7;

public class Test6 {
    public static void main(String[] args) {
        //1.创建哈士奇对象
        HisQi hq = new HisQi();
        hq.eat();
        hq.drink();
        hq.lookHome();
        hq.breakHome();

        //2.创建沙皮狗对象
        Sapi sp = new Sapi();
        sp.eat();
        sp.drink();
        sp.lookHome();

        //3.创建中华田园犬对象
        ChineseDog cd = new ChineseDog();
        cd.eat();
        cd.drink();
        cd.lookHome();
    }
}
